<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h1>测试静态资源</h1>
    <img src="http://127.0.0.1:8000/static/img/01.jpg" width="600" alt="">
    <br>
    <img src="/static/img/01.jpg" width="600" alt="">
    <br>
    <!-- 模板标签 -->
    {% load static %}
    <img src="{% static 'img/01.jpg' %}" width="400" alt="">
</body>
</html>